#include <iostream>
#include <string>
#include <cstring>
#include "Console.h"
using namespace std;
int main(int argc, char *argv[])
{
	Console csl;
	string strTitle;
	cout<<csl.GetTitle()<<endl<<"Processing... ";
	csl.SetProgressStyle('=','-');
	csl.InitProgress();
	for(int nCount = 0;nCount < 100;++nCount){
		Sleep(100);
		csl.ShowProgress(nCount+1,100);
	}
	cout<<endl<<"End all. Input title: ";
	getline(cin,strTitle);
	//cin>>;
	csl.SetTitle(strTitle);
	//csl.ClearScr();
	csl.SetGlobalColor(SC_GREEN,SC_BLACK);
	//csl.SetColor(FOREGROUND_RED|FOREGROUND_INTENSITY,NULL) ;
	cout<<"asd"<<endl; 
	return 0;
}